@import '@vue-flow/core/dist/style.css';
@import '@vue-flow/core/dist/theme-default.css';
@import '@vue-flow/controls/dist/style.css';
@import '@icon-park/vue-next/styles/index.css';
@import './base.css';

#app {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 2rem;
  font-weight: normal;
}

a,
.green {
  text-decoration: none;
  color: hsla(160, 100%, 37%, 1);
  transition: 0.4s;
  padding: 3px;
}

.vue-flow__node {
  display: flex;
  padding: 0px 6px;
  min-width: 220px;
  flex-direction: column;
  border: 1px solid #737a73;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vue-flow__node:hover {
  box-shadow: 0 0px 8px rgba(255, 0, 114, 0.1);
}

.vue-flow__node.selected {
  box-shadow: 0 0 0 2px #2563eb
}

.node-header {
  display: flex;
  align-items: center;
  font-size: 12px;
  justify-content: space-between;
  color: rgb(26, 25, 25);
  padding: 5px 5px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.icon-header {
  width: 24px;
  height: 24px;
  padding: 4px;
  background: #e8f4ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c8dfb;
  flex-shrink: 0;
}

.icon-more {
  width: 16px;
  height: 16px;
  color: rgb(0, 0, 0);
  vertical-align: middle;
}

.node-title {
  margin-left: 8px;
  font-size: 14px;
  flex-grow: 1;
}

.el-dropdown-link {
  cursor: pointer;
  color: #fff;
  font-size: 16px;
}

@media (hover: hover) {
  a:hover {
    background-color: hsla(160, 100%, 37%, 0.2);
  }
}